package com.lengmou.entity;

public class Users {
//    用户id
    private int id;
//    账号
    private String username;
//    密码
    private String password;
//    余额
    private double money;
//    手机号码
    private String tel;
//    状态id
    private int state;
//    身份id
    private int identity;

    public Users() {
    }

    public Users(int id, String username, String password, double money, String tel, int state, int identity) {
        this.id = id;
        this.username = username;
        this.password = password;
        this.money = money;
        this.tel = tel;
        this.state = state;
        this.identity = identity;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public int getState() {
        return state;
    }

    public void setState(int state) {
        this.state = state;
    }

    public int getIdentity() {
        return identity;
    }

    public void setIdentity(int identity) {
        this.identity = identity;
    }

    @Override
    public String toString() {
        return "Users{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", money=" + money +
                ", tel='" + tel + '\'' +
                ", state=" + state +
                ", identity=" + identity +
                '}';
    }
}
